{extend name='main'}

{block name="button"}


{/block}

{block name="content"}
<div class="think-box-shadow">
    {include file='guest_flow/index_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='list-table-check-td think-checkbox'>
                <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
            </th>
            <th class='text-center nowrap'>编号</th>
            <th class='text-left nowrap'>头像</th>
            <th class='text-left nowrap'>店铺</th>
            <th class='text-center nowrap'>进/出</th>
            <th class='text-left nowrap'>时间</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key => $vo}
        <tr data-dbclick>
            <td class='list-table-check-td think-checkbox'>
                <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
            </td>
            <td class='text-center'>{$vo.id|default=''}</td>
            <td class='text-left'>
                <img data-tips-image="" src="{$vo.photo}" alt="" width="60px" height="60px">
            </td>
            <td class='text-left'>{$vo.shop_name|default='-'}</td>
            <td class='text-center'>
                {if $vo.is_come eq 1}
                <span style="color: #00B83F">进</span>
                {elseif $vo.is_come eq 2}
                <span style="color: red">出</span>
                {else}
                <span style="color: #6c6c6c">未关联</span>
                {/if}
            </td>
            <td class='text-left'>{$vo.enter_time|date='Y-m-d H:i:s'|default=''}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}